function toggle(element) {
	if(document.getElementById(element).style.display == 'block'){
		document.getElementById(element).style.display = 'none';
	}
	else {
		document.getElementById(element).style.display = 'block';
		}
}

function image_logo(){
	var now = new Date();
	var Std = now.getHours();
	if(Std >= 18 && Std <= 6 ){
	document.getElementById('logo').innerHTML='            <a href="http://tu-dresden.de" target="_blank"><img src="http://tu-dresden.de/service/publizieren/cd/1_basiselemente/01_logo/dat/bruecke/br_schriftzug_1z_w.gif" /></a>';
	document.getElementById('logo').style.backgroundColor = '#999';
		}
		else{document.getElementById('logo').innerHTML='            <a href="http://tu-dresden.de" target="_blank"><img src="http://tu-dresden.de/service/publizieren/cd/1_basiselemente/01_logo/dat/bruecke/br_schriftzug_1z_bl.gif" /></a>';
		document.getElementById('logo').style.backgroundColor = '#999';
		}
}

var temp_toggle=true;

function loadXMLDoc()
{
var xmlhttp;
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200 && temp_toggle == true)
    {
	temp_toggle = false;
    document.getElementById("h2ConTab").innerHTML=xmlhttp.responseText;
    }
	else if(xmlhttp.readyState==4 && xmlhttp.status==200 && temp_toggle == false){
		temp_toggle = true;
		document.getElementById("h2ConTab").innerHTML="";
	}
  }

xmlhttp.open("GET","info.txt",true);
xmlhttp.send();
}